﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
///CheckPower 的摘要说明
/// </summary>
public class CheckPower : PageBase
{
	public CheckPower()
	{
		//
		//TODO: 在此处添加构造函数逻辑
		//
	}

    protected override void OnPreRender(EventArgs e)
    {
        if (LoginUserId > 0)
        {
           
        }
        else
        {
            Session.RemoveAll();
            Response.Write("<script>top.location.href='/Admin/login.aspx'</script>");
        }
        base.OnPreRender(e);
    }
}